package com.netintech.intelligenceInterface.iflytek.model.SpeechPreprocessing;

import com.netintech.intelligenceInterface.iflytek.model.textIntentionClassification.State;

public class Model {
    /**  语音资源ID */
    private String aid;
    /**  说话人序号 */
    private Integer spkIdx;
    /**  模型（Base64串） */
    private String model;
    /** 模型类型（数组每一位分别对应ivec技术路线plp-tv、plp-dnn-tv、pncc-tv、pncc-dnn-tv、cnn），0即未开该系统，1即开启该系统  */
    private Integer type;
    /**  vid处理结果状态(ok/failed/code),state对象说明 */
    private State state;
    /**  对应Msvid6812中提供的16K机顶盒资源，现有三类标签：女声、男声、儿童，及相应的置信度得分，得分高的标签即该说话人信息,见spkInfo对象说明 */
    private SpkInfo spkInfo;

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public Integer getSpkIdx() {
        return spkIdx;
    }

    public void setSpkIdx(Integer spkIdx) {
        this.spkIdx = spkIdx;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public State getState() {
        return state;
    }

    public void setState(State state) {
        this.state = state;
    }

    public SpkInfo getSpkInfo() {
        return spkInfo;
    }

    public void setSpkInfo(SpkInfo spkInfo) {
        this.spkInfo = spkInfo;
    }
}
